package com.zking.ssm.NH.service;

import com.zking.ssm.NH.model.ThotelTopic;
import com.zking.ssm.util.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IThotelTopicService {

    int deleteByPrimaryKey(ThotelTopic id);

    int insert(ThotelTopic record);

    int insertSelective(ThotelTopic record);

    ThotelTopic selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ThotelTopic record);

    int updateByPrimaryKey(ThotelTopic record);

    @Transactional(readOnly = true)
    List<ThotelTopic> lista(ThotelTopic record, PageBean pageBean);

    int deletepiliang(ThotelTopic record);
}
